﻿@using Dotnet6.Web.DbEntitys
@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@model UserInfo
@{
}
<div>
    <h5>用户信息</h5>
    <form method="post">
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Id">Id</label>
            <div class="col-md-11">
                <input type="text" readonly class="form-control" name="Id" placeholder="自动生成" value="@Model.Id">
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Name">姓名</label>
            <div class="col-md-11">
                <input type="text" class="form-control" name="Name" value="@(Model.Name)">
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Account">账号</label>
            <div class="col-md-11">
                <input type="text" class="form-control" name="Account" value="@(Model.Account)">
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Password">密码</label>
            <div class="col-md-11">
                <input type="text" class="form-control" name="Password" value="@(Model.Password)">
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Age">年龄</label>
            <div class="col-md-11">
                <input type="text" class="form-control" name="Age" value="@(Model.Age)">
            </div>
        </div>
        <div class="form-group row">
            <label class="col-md-1 col-form-label" for="Phone">手机号</label>
            <div class="col-md-11">
                <input type="text" class="form-control" name="Phone" value="@(Model.Phone)">
            </div>
        </div>
        <button class="btn btn-primary pl-3 pr-3">保存</button>
    </form>
</div>